Imports System.Data.OleDb
Imports DTO
Imports DAO

Public Class NhanVienBUS
    Public Function LayBang(ByVal username, ByVal password) As DataTable
        Dim dt As DataTable
        Dim nvDao As New NhanVienDAO()
        dt = nvDao.LayBang(username, password)
        Return dt
    End Function
    Public Function LayDanhSach() As IList
        Dim ds As IList
        Dim nvDao As New NhanVienDAO()
        ds = nvDao.LayDanhSach()
        Return ds
    End Function
    Public Sub CapNhatBang(ByVal dt As DataTable)
        Dim nvDao As New NhanVienDAO()
        nvDao.CapNhatBang(dt)
    End Sub
End Class
